#pragma once

#include <iostream>
#include <memory>

class Realty 
{
  public:
  Realty() = default;
  ~Realty() = default;

  void buy();
  void sell();
};

using RealtyPtr = std::shared_ptr<Realty>;

void Realty::buy() {
  std::cout << "买房地产！" << std::endl;
}

void Realty::sell() {
  std::cout << "卖房地产！" << std::endl;
}
